{
    "keyboard_name": "wren",
    "manufacturer": "Walter Hanley",
    "maintainer": "walterhanley",
    "usb": {
        "vid": "0xFEED",
        "pid": "0x0000",
        "device_version": "0.0.1"
    },
    "matrix_pins": {
        "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4", "D7", "F0"],
        "rows": ["D3", "D2", "C6", "D4", "B5"]
    },
    "diode_direction": "COL2ROW",
    "encoder": {
        "rotary": [
            {"pin_a": "E6", "pin_b": "B4"}
        ]
    },
    "split": {
        "encoder": {
            "right": {
                "rotary": [
                    {"pin_a": "B4", "pin_b": "E6"}
                ]
            }
        }
    },
    "processor": "atmega32u4",
    "bootloader": "atmel-dfu",
    "layouts": {
        "LAYOUT": {
            "layout": [
                {"matrix": [0, 9], "x": 0, "y": 0.5},
                {"matrix": [0, 8], "x": 1, "y": 0.5},
                {"matrix": [0, 7], "x": 2, "y": 0.5},
                {"matrix": [0, 6], "x": 3, "y": 0.5},

                {"matrix": [0, 5], "x": 4.5, "y": 0.5},
                {"matrix": [0, 4], "x": 5.5, "y": 0.5},
                {"matrix": [0, 3], "x": 6.5, "y": 0.25},
                {"matrix": [0, 2], "x": 7.5, "y": 0},
                {"matrix": [0, 1], "x": 8.5, "y": 0.25},
                {"matrix": [0, 0], "x": 9.5, "y": 0.5},

                {"matrix": [5, 0], "x": 14, "y": 0.5},
                {"matrix": [5, 1], "x": 15, "y": 0.25},
                {"matrix": [5, 2], "x": 16, "y": 0},
                {"matrix": [5, 3], "x": 17, "y": 0.25},
                {"matrix": [5, 4], "x": 18, "y": 0.5},
                {"matrix": [5, 5], "x": 19, "y": 0.5},

                {"matrix": [5, 6], "x": 20.5, "y": 0.5},
                {"matrix": [5, 7], "x": 21.5, "y": 0.5},
                {"matrix": [5, 8], "x": 22.5, "y": 0.5},
                {"matrix": [5, 9], "x": 23.5, "y": 0.5},

                {"matrix": [1, 9], "x": 0, "y": 1.5},
                {"matrix": [1, 8], "x": 1, "y": 1.5},
                {"matrix": [1, 7], "x": 2, "y": 1.5},
                {"matrix": [1, 6], "x": 3, "y": 1.5},

                {"matrix": [1, 5], "x": 4.5, "y": 1.5},
                {"matrix": [1, 4], "x": 5.5, "y": 1.5},
                {"matrix": [1, 3], "x": 6.5, "y": 1.25},
                {"matrix": [1, 2], "x": 7.5, "y": 1},
                {"matrix": [1, 1], "x": 8.5, "y": 1.25},
                {"matrix": [1, 0], "x": 9.5, "y": 1.5},

                {"matrix": [6, 0], "x": 14, "y": 1.5},
                {"matrix": [6, 1], "x": 15, "y": 1.25},
                {"matrix": [6, 2], "x": 16, "y": 1},
                {"matrix": [6, 3], "x": 17, "y": 1.25},
                {"matrix": [6, 4], "x": 18, "y": 1.5},
                {"matrix": [6, 5], "x": 19, "y": 1.5},

                {"matrix": [6, 6], "x": 20.5, "y": 1.5},
                {"matrix": [6, 7], "x": 21.5, "y": 1.5},
                {"matrix": [6, 8], "x": 22.5, "y": 1.5},
                {"matrix": [6, 9], "x": 23.5, "y": 1.5},

                {"matrix": [2, 9], "x": 0, "y": 2.5},
                {"matrix": [2, 8], "x": 1, "y": 2.5},
                {"matrix": [2, 7], "x": 2, "y": 2.5},
                {"matrix": [2, 6], "x": 3, "y": 2.5},

                {"matrix": [2, 5], "x": 4.5, "y": 2.5},
                {"matrix": [2, 4], "x": 5.5, "y": 2.5},
                {"matrix": [2, 3], "x": 6.5, "y": 2.25},
                {"matrix": [2, 2], "x": 7.5, "y": 2},
                {"matrix": [2, 1], "x": 8.5, "y": 2.25},
                {"matrix": [2, 0], "x": 9.5, "y": 2.5},

                {"matrix": [7, 0], "x": 14, "y": 2.5},
                {"matrix": [7, 1], "x": 15, "y": 2.25},
                {"matrix": [7, 2], "x": 16, "y": 2},
                {"matrix": [7, 3], "x": 17, "y": 2.25},
                {"matrix": [7, 4], "x": 18, "y": 2.5},
                {"matrix": [7, 5], "x": 19, "y": 2.5},

                {"matrix": [7, 6], "x": 20.5, "y": 2.5},
                {"matrix": [7, 7], "x": 21.5, "y": 2.5},
                {"matrix": [7, 8], "x": 22.5, "y": 2.5},
                {"matrix": [7, 9], "x": 23.5, "y": 2.5},

                {"matrix": [3, 9], "x": 0, "y": 3.5},
                {"matrix": [3, 8], "x": 1, "y": 3.5},
                {"matrix": [3, 7], "x": 2, "y": 3.5},
                {"matrix": [3, 6], "x": 3, "y": 3.5},

                {"matrix": [3, 5], "x": 4.5, "y": 3.5},
                {"matrix": [3, 4], "x": 5.5, "y": 3.5},
                {"matrix": [3, 3], "x": 6.5, "y": 3.25},
                {"matrix": [3, 2], "x": 7.5, "y": 3},
                {"matrix": [3, 1], "x": 8.5, "y": 3.25},
                {"matrix": [3, 0], "x": 9.5, "y": 3.5},

                {"matrix": [8, 0], "x": 14, "y": 3.5},
                {"matrix": [8, 1], "x": 15, "y": 3.25},
                {"matrix": [8, 2], "x": 16, "y": 3},
                {"matrix": [8, 3], "x": 17, "y": 3.25},
                {"matrix": [8, 4], "x": 18, "y": 3.5},
                {"matrix": [8, 5], "x": 19, "y": 3.5},

                {"matrix": [8, 6], "x": 20.5, "y": 3.5},
                {"matrix": [8, 7], "x": 21.5, "y": 3.5},
                {"matrix": [8, 8], "x": 22.5, "y": 3.5},
                {"matrix": [8, 9], "x": 23.5, "y": 3.5},

                {"matrix": [4, 4], "x": 6, "y": 4.5},
                {"matrix": [4, 3], "x": 7, "y": 4.5},
                {"matrix": [4, 2], "x": 8, "y": 4.5},
                {"matrix": [4, 1], "x": 9, "y": 4.75},

                {"matrix": [4, 0], "x": 10.75, "y": 4, "h": 2},

                {"matrix": [9, 0], "x": 12.75, "y": 4, "h": 2},

                {"matrix": [9, 1], "x": 14.5, "y": 4.75},
                {"matrix": [9, 2], "x": 15.5, "y": 4.5},
                {"matrix": [9, 3], "x": 16.5, "y": 4.5},
                {"matrix": [9, 4], "x": 17.5, "y": 4.5}
            ]
        }
    }
}
